package com.jianhua.backend.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.time.Year;

@Getter
@Setter
@ToString
@TableName("package_sales_quarterly")
public class PackageSQ implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 套餐ID
     */
    @TableField("packageId")
    private Integer packageId;

    /**
     * 套餐名称
     */
    @TableField("packageName")
    private String packageName;

    /**
     * 套餐年份
     */
    @TableField("year")
    private Year year;

    /**
     * 套餐季度
     */
    @TableField("quarter")
    private Integer quarter;

    /**
     * 套餐销量
     */
    @TableField("totalSales")
    private Integer totalSales;

    /**
     * 套餐总收入
     */
    @TableField("totalRevenue")
    private Double totalRevenue;

}
